package com.llt.system.service.qusetion;

import com.baomidou.mybatisplus.extension.service.IService;
import com.llt.common.core.domain.R;
import com.llt.common.core.domain.TableDataInfo;
import com.llt.system.domain.question.dto.QuestionAddDTO;
import com.llt.system.domain.question.dto.QuestionDetailVO;
import com.llt.system.domain.question.dto.QuestionEditDTO;
import com.llt.system.domain.question.dto.QuestionQueryDTO;
import com.llt.system.domain.question.po.Question;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author llt
 * @since 2024-09-22
 */
public interface IQuestionService extends IService<Question> {

    TableDataInfo list(QuestionQueryDTO dto);

    R<Void> add(QuestionAddDTO dto);

    R<QuestionDetailVO> detail(Long questionId);

    R<Void> edit(QuestionEditDTO dto);

    R<Void> delete(Long questionId);
}
